package zzz.core;

public class Constants {
	public static final String LOGIN_ERR = "登录失败";
	public static final String LOGIN_PROMPT = "请先登录";
	public static final String HOME_PAGE = "/task/list";
	public static final String INDEX_PAGE = "/";
	public static final String LOGIN_URL="/login";
	public static final String ADMIN_LOGIN_URL="/admin";

	public static final String SUCCESS = "success";
	public static final String ERROR = "error";
	
	/* 通用操作结果页面返回值 */
	public static final String EXECUTE_RESULT = "/common/execute_result";
	public static final String EXECUTE_RESULT_NAME = "execute_result";
	
	/* 默认分页尺寸及分页标记 */
	public static final int DEFAULT_PAGE_SIZE = 2;
	public static final int MAX_PAGE_SIZE = 1000;
	public static final String NORMAL_MARK = "?";
	public static final String START_MARK = ":_START_INDEX_";
	public static final String END_MARK = ":_END_INDEX_";
	
	/* 记录返回页面地址用的session key */
	public static final String REFER_URL = "_REFER_URL_";
	public static final String REFER_URL_DEFAULT_KEY = "_REFER_URL_DEFAULT_KEY_";
	
	/* 登录后用户信息在Session中的Key */
	public static final String LOGIN_USER = "_LOGIN_USER_";	
	public static final String LOGIN_MANAGER = "_LOGIN_MANAGER_";	
	/* 系统内部编码 */
	public static final String ENCODING = "UTF-8";
	/* 记录用户登录前想要访问的地址在Session中的Key */
	public static final String ORIGINAL_URL = "_ORIGINAL_URL_";


}